from pdf2docx import Converter

pdf_file = './userStory.pdf'   # pdf 文件路径
docx_file = './userStory.docx' # docx 文件路径

cv = Converter(pdf_file)   #  pdf 转为 docx
cv.convert(docx_file)      # 默认转换所有页面
cv.close()